﻿using ABlog.Domain.Entity;
using ABlog.Domain.Infrastructure;
using ABlog.Domain.Repository.Foundation;

namespace ABlog.Domain.Repository
{
    /// <summary>
    /// 用户
    /// </summary>
    public interface IUserIndexRepository : IRepository<UserIndexEntity>, IDependency
    {
        /// <summary>
        /// 判断当前用户是否存在
        /// </summary>
        /// <param name="name">用户名</param>
        /// <returns></returns>
        UserIndexEntity FindUserInfoByAccountName(string name);
    }
}
